import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
import { GetCategory } from '@/api/info'


export const useInfoStore = defineStore('info', () => {
  const getCategory = async () => {
    let res = await GetCategory();
    return res.data;
  }
  return {
    getCategory
  }
})
